Grok 4.20 vs Claude Sonnet 5

xAI Grok 4.20Anthropic Claude Claude Sonnet 5
VendorxAIAnthropic Claude
Context window2,000,0001,000,000
Max output2,000,000128,000
ReasoningYesYes
Tool callingYesYes
File inputYesYes
Inputtext, imagetext, image
Outputtexttext
Released2026-03-082026-06-29